Fixed set password logic
if user does not provides a redirect uri redirect by default to profile page Change-Id: I9f3522771135677f5689d9fdbeb3cae053e1e6d3 Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
parent
444635b580
commit
6284c47598
|
@ -10,8 +10,11 @@
|
|||
href = href +'?email=' + email;
|
||||
|
||||
setTimeout(function(){ window.location = href; }, 3000);
|
||||
return;
|
||||
}
|
||||
|
||||
setTimeout(function(){ window.location = '/accounts/user/profile'; }, 3000);
|
||||
|
||||
});
|
||||
|
||||
// End of closure.
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
@if($redirect_uri)
|
||||
<p>Now you will be redirected to <a id="redirect_url" name="redirect_url" href="{{$redirect_uri}}">{{$redirect_uri}}</a></p>
|
||||
@else
|
||||
<p> Now you can <a href="{!!URL::action("UserController@getLogin") !!}">Login</a> here.</p>
|
||||
<p> Now you can <a href="{!!URL::action("UserController@getLogin") !!}">Complete your Profile</a> here.</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue