mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-20 23:11:48 -05:00
Redirect the user to the link they clicked on after authentication
This commit is contained in:
@@ -80,7 +80,8 @@ export default ['$log', '$cookies', '$compile', '$rootScope',
|
||||
};
|
||||
|
||||
lastUser = function(){
|
||||
if(!Empty($rootScope.lastUser) && $rootScope.lastUser === $rootScope.current_user.id){
|
||||
let lastUser = $cookies.get('lastUser');
|
||||
if(!Empty(lastUser) && parseInt(lastUser) === $rootScope.current_user.id){
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user