Skip to content

Commit 63f43a7

Browse files
authored
Merge pull request #535 from E-Xor/patch-1
Mention response.errors in the documentation
2 parents 811618d + 083cf04 commit 63f43a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ def consume
237237
session[:attributes] = response.attributes
238238
else
239239
authorize_failure # This method shows an error message
240+
# List of errors is available in response.errors array
240241
end
241242
end
242243
```
@@ -314,6 +315,7 @@ class SamlController < ApplicationController
314315
session[:attributes] = response.attributes
315316
else
316317
authorize_failure # This method shows an error message
318+
# List of errors is available in response.errors array
317319
end
318320
end
319321

0 commit comments

Comments
 (0)