15 lines
880 B
Plaintext
15 lines
880 B
Plaintext
.row
|
|
h1 Obtain authentication token...
|
|
hr
|
|
- if current_user.present?
|
|
p Waiting for authentication to complete.....
|
|
javascript:
|
|
window.location.href = "/close_window?user_id=#{current_user.id}&authentication_token=#{current_user.authentication_token}"
|
|
// if(!window.opener || window.opener != window) window.close();
|
|
// window.location = (Qstorage.getItem('root_url') || '/user/index.html') + '?user_id=#{current_user.id}&auth_token=#{current_user.authentication_token}';
|
|
// localStorage.setItem('auth_token', '#{current_user.authentication_token}');
|
|
// localStorage.setItem('user_id', '#{current_user.id}');
|
|
// window.location = $root_url + '?user_id=#{current_user.id}&auth_token=#{current_user.authentication_token}';
|
|
// debugger;
|
|
// QMobile.signed_in({user_id: '#{current_user.id}', auth_token: '#{current_user.authentication_token}'});
|