diff --git a/src/gui/src/UI/UIWindowLoginInProgress.js b/src/gui/src/UI/UIWindowLoginInProgress.js
index ff33fe8e6..16b2562de 100644
--- a/src/gui/src/UI/UIWindowLoginInProgress.js
+++ b/src/gui/src/UI/UIWindowLoginInProgress.js
@@ -23,14 +23,26 @@ async function UIWindowLoginInProgress(options){
return new Promise(async (resolve) => {
options = options ?? {};
- let h = '';
+ // get the profile picture of the user
+ let profile_pic
+
+ if(options.user_info?.username){
+ profile_pic = await get_profile_picture(options.user_info?.username);
+ }
+
+ if(!profile_pic){
+ profile_pic = window.icons['profile.svg']
+ }
+
+ let h = '';
h += `
`;
+ h += `
`;
h += `
Logging in as ${options.user_info.email === null ? options.user_info.username : options.user_info.email}
`;
+ font-weight: 300; margin: -10px 10px 4px 10px;">Logging in as
${options.user_info.email === null ? options.user_info.username : options.user_info.email}`;
// spinner
- h +=`
`;
+ h +=`
`;
h += `
`;
diff --git a/src/gui/src/css/style.css b/src/gui/src/css/style.css
index 31a3aa34d..8799a4119 100644
--- a/src/gui/src/css/style.css
+++ b/src/gui/src/css/style.css
@@ -3187,7 +3187,6 @@ fieldset[name=number-code] {
}
.login-progress {
- height: 200px;
display: flex;
flex-direction: column;
justify-content: center;
@@ -4455,7 +4454,7 @@ fieldset[name=number-code] {
}
-.device-phone .window.window-qr, .device-phone .window.window-progress{
+.device-phone .window.window-qr, .device-phone .window.window-progress, .device-phone .window.window-login-progress{
left: 50% !important;
transform: translate(-50%) !important;
height: initial !important;
diff --git a/src/gui/src/initgui.js b/src/gui/src/initgui.js
index fd340b3cd..f2ed081c9 100644
--- a/src/gui/src/initgui.js
+++ b/src/gui/src/initgui.js
@@ -393,6 +393,8 @@ window.initgui = async function(options){
else if(window.url_query_params.has('auth_token')){
let query_param_auth_token = window.url_query_params.get('auth_token');
+ puter.setAuthToken(query_param_auth_token);
+
try{
whoami = await puter.os.user();
}catch(e){