2014-09-26 - Re: Need help to edit the URL link after login sucess

Header Data

From: Mohammad Javad Ra’adi <pe***t@gmail.com>
Message Hash: cd2f62e40dec07d43230c41a1e3a23f98016cecfe46ac0ee0d9fb521b546f2a1
Message ID: <eb747fd8-611b-4ac8-a45a-d6d11d140555@grasehotspot.org>
Reply To: <f4b23828-b8c5-44ce-9d20-9ce41e1bda1c@grasehotspot.org>
UTC Datetime: 2014-09-26 06:49:07 UTC
Raw Date: Fri, 26 Sep 2014 06:49:07 -0700

Raw message

hello wilsonpep
you can simply do that by editing /usr/share/grase/www/uam/js/jqchilli.js 
file. at around line 322 it gets to the point which the login is successful 
and it wants to show the success message. you can change "userurl" to 
anything you want like http://www.google.com.
also if you need to redirect the users to the original website immediately 
after successful login, you can add this line after the top one.
window.location.href = userurl;

On Thursday, September 25, 2014 10:34:26 AM UTC+3:30, Wilsonpep wrote:
>
> Hey,
>
> Please help me how to edit the URL link under "Click to open the status 
> window and continue to your site" to a fixed URL (eg. 
> http://www.google.com)
> after login.
>
> Thanks!
> Wilsonpep
>
>

Thread