mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-12 00:05:38 +00:00
Remove login landing fade-out overlay
Drop the delayed fade-out when a logged-in user reaches the GUI and remove the landing overlay immediately instead. This avoids the overlay sitting above the email/phone/card verification gates because of its z-index.
This commit is contained in:
@@ -1970,11 +1970,7 @@ window.initgui = async function (options) {
|
||||
// a logged-in user, so drop the overlay. This must happen before
|
||||
// the verification gates below: the overlay's max z-index would
|
||||
// cover them.
|
||||
const app_landing = document.getElementById('appLanding');
|
||||
if (app_landing) {
|
||||
app_landing.classList.add('fade-out');
|
||||
setTimeout(() => app_landing.remove(), 600);
|
||||
}
|
||||
document.getElementById('appLanding')?.remove();
|
||||
// Verification gates run in order: email → phone (SMS) → card,
|
||||
// matching the server-side order in assertVerifiedAccount.
|
||||
if (whoami.requires_email_confirmation) {
|
||||
|
||||
Reference in New Issue
Block a user