canvas-lms/app
Charley Kline 54b544c54f Don't send error object, just string, to mobile login page
Fixes FOO-572
flag=none

During the Covid Strikeforce effort, we altered the error message
sent back for a failed login so that the flash would persist for
more than the default few seconds. Unfortunately this did not take
into account the mobile login screen which was still expecting a
string to display, and thus was displaying the JSON instead. So
let's not render the more complex JSON if the user is using a
mobile browser.

Test plan:
* Try to reproduce mobile login error message problem as specified
  in the ticket
* Mobile login error should be plain text with a URL, not a JSON

Change-Id: I1426d6f63dcc17c487b7f5133928786fbe4daa52
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/242750
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2020-07-17 15:09:03 +00:00
..
coffeescripts Disable delete button after enabling a front page 2020-07-15 20:34:46 +00:00
controllers Don't send error object, just string, to mobile login page 2020-07-17 15:09:03 +00:00
graphql add notification preferences to gql user type 2020-07-10 19:31:07 +00:00
helpers allow site admins to disable GA & FullStory 2020-07-14 19:45:11 +00:00
jsx move proficiency tab to account outcomes page 2020-07-15 20:37:48 +00:00
messages create upcoming_assignment_alert message template 2020-07-08 22:15:54 +00:00
middleware unify request throttle setting 2020-05-08 13:59:01 +00:00
models Set submission stream item hidden based on posted 2020-07-16 20:08:20 +00:00
observers Add conversation message created live event 2020-04-07 19:30:23 +00:00
presenters drop submission.context_code in favor of submission.course_id 2020-05-28 23:31:13 +00:00
serializers Add disable_timer_autosubmission to Quiz model 2020-05-06 14:31:16 +00:00
stylesheets fix eportfolio moderation overflow for responsive view 2020-07-14 17:53:07 +00:00
views Add label to Pages RCE 2020-07-16 17:57:52 +00:00