Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
el3ab-Player
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
el3ab-Player
Commits
612f80b1
Commit
612f80b1
authored
Jun 16, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: restore Google login button on native (Flutter domains updated)
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
90bc35aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
login.js
public/js/modules/auth/scenes/login.js
+1
-5
No files found.
public/js/modules/auth/scenes/login.js
View file @
612f80b1
...
...
@@ -84,11 +84,7 @@ export function mountLogin(el) {
scene
.
replace
(
'auth-register'
);
});
const
googleBtn
=
el
.
querySelector
(
'#google-btn'
);
if
(
window
.
IS_NATIVE_APP
)
{
googleBtn
.
style
.
display
=
'none'
;
}
googleBtn
.
addEventListener
(
'click'
,
()
=>
{
el
.
querySelector
(
'#google-btn'
).
addEventListener
(
'click'
,
()
=>
{
audio
.
play
(
'click'
);
const
redirect
=
encodeURIComponent
(
window
.
location
.
origin
+
'/'
);
window
.
location
.
href
=
`
${
SUPABASE_URL
}
/auth/v1/authorize?provider=google&redirect_to=
${
redirect
}
`
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment