diff options
Diffstat (limited to 'server/template/html/login.html')
-rw-r--r-- | server/template/html/login.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/template/html/login.html b/server/template/html/login.html index 07a3212..f692723 100644 --- a/server/template/html/login.html +++ b/server/template/html/login.html @@ -19,5 +19,10 @@ <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Sign in" }}</button> </div> </form> + {{ if hasOAuth2Provider "google" }} + <div class="oauth2"> + <a href="{{ route "oauth2Redirect" "provider" "google" }}">{{ t "Sign in with Google" }}</a> + </div> + {{ end }} </section> {{ end }} |