diff --git a/resources/lang/en/auth/general.php b/resources/lang/en/auth/general.php index 6c1bf826f0..4486f090b2 100644 --- a/resources/lang/en/auth/general.php +++ b/resources/lang/en/auth/general.php @@ -12,7 +12,7 @@ return [ 'remember_me' => 'Remember Me', 'username_help_top' => 'Enter your username to be emailed a password reset link.', 'username_help_bottom' => 'Your username and email address may be the same, but may not be, depending on your configuration. If you cannot remember your username, contact your administrator.

Usernames without an associated email address will not be emailed a password reset link. ', - 'google_login' => 'Login via Google', + 'google_login' => 'Or login with Google Workspace', 'google_login_failed' => 'Google Login failed, please try again.', ]; diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 9d1f371cf4..1e37e3acb2 100755 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -73,33 +73,30 @@ -
+
@if ($snipeSettings->custom_forgot_pass_url) {{ trans('auth/general.forgot_password') }} @elseif (!config('app.require_saml')) {{ trans('auth/general.forgot_password') }} @endif -
+
+ @if (($snipeSettings->google_login=='1') && ($snipeSettings->google_client_id!='') && ($snipeSettings->google_client_secret!='')) + + + {{ trans('auth/general.google_login') }} + + @endif +