Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
openid_connect
Commits
c8c3aeaf
Commit
c8c3aeaf
authored
Mar 07, 2016
by
sanduhrs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add user facing error message in case of failure
parent
6f1bdafa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/Controller/RedirectController.php
src/Controller/RedirectController.php
+1
-0
No files found.
src/Controller/RedirectController.php
View file @
c8c3aeaf
...
...
@@ -164,6 +164,7 @@ class RedirectController extends ControllerBase implements AccessInterface {
);
$message
=
'Authorization failed: @error. Details: @details'
;
$this
->
loggerFactory
->
get
(
'openid_connect_'
.
$client_name
)
->
error
(
$message
,
$variables
);
drupal_set_message
(
t
(
'Could not authenticate with @provider.'
,
$provider_param
),
'error'
);
}
}
else
{
...
...
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