show correct error message if google login fails

This commit is contained in:
bence committed 2023-04-08 03:34:07 +02:00
1 parent 862daea29c
commit d45b790122
3 files changed
+14 -17

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
@extends(templates/layout_normal)
@section(main)
<h2>Login up with Google</h2>
<div class="box">
<p class="error justify">Authentication with Google failed. Please <a href="/login/google" title="Login with Google">try again</a>!</p>
</div>
@endsection
+8
View File
@@ -0,0 +1,8 @@
@extends(templates/layout_normal)
@section(main)
<h2>Login up with Google</h2>
<div class="box">
<p class="error justify"><?= $error ?></p>
</div>
@endsection