Browse Source

Fix consent screen OAUTH2.0 flow

* updated css on ui consent screen to better mobile UX
* added autocomplete off to login form

Change-Id: I61d5465d81adad31395dd4a80806ba4a0cc205cf
tags/1.0.18^0
Sebastian Marcet 3 years ago
parent
commit
3de1865b9f
2 changed files with 12 additions and 5 deletions
  1. 11
    4
      app/views/login.blade.php
  2. 1
    1
      app/views/oauth2/consent.blade.php

+ 11
- 4
app/views/login.blade.php View File

@@ -22,13 +22,20 @@
22 22
                 <div class="form-group">
23 23
                     {{ Form::email('username',Session::has('username')? Session::get('username'):null, array
24 24
                     (
25
-                        'placeholder' => 'Username',
26
-                        'class'       =>'form-control',
27
-                        'required'    => 'true'
25
+                        'placeholder'  => 'Username',
26
+                        'class'        =>'form-control',
27
+                        'required'     => 'true',
28
+                        'autocomplete' => 'off'
28 29
                     )) }}
29 30
                 </div>
30 31
                 <div class="form-group">
31
-                    {{ Form::password('password', array('placeholder' => 'Password', 'class' => 'form-control', 'required'    => 'true')) }}
32
+                    {{ Form::password('password', array
33
+                    (
34
+                        'placeholder'  => 'Password',
35
+                        'class'        => 'form-control',
36
+                        'required'     => 'true',
37
+                        'autocomplete' => 'off'
38
+                    )) }}
32 39
                 </div>
33 40
                 <div class="form-group">
34 41
                     @if(Session::has('flash_notice'))

+ 1
- 1
app/views/oauth2/consent.blade.php View File

@@ -19,7 +19,7 @@
19 19
         <div class="col-md-6 col-md-offset-3">
20 20
             <div class="row">
21 21
                 <div class="col-md-12 col-xs-12">
22
-                    <h2> <a target='_blank' href="{{$website}}">{{$app_name}}</a>&nbsp; <span class="glyphicon glyphicon-info-sign pointable info" aria-hidden="true" data-content="Developer Email: <a href='mailto:{{$dev_info_email}}'>{{$dev_info_email}}</a>.<br> Clicking 'Accept' will redirect you to: <a href='{{$website}}' target='_blank'>{{$website}}</a>" title="Developer Info"></span></h2>
22
+                    <h2> <a target='_blank' href="{{$website}}">{{$app_name}}</a>&nbsp;<span style="font-size: 10pt;" class="glyphicon glyphicon-info-sign pointable info" aria-hidden="true" data-content="Developer Email: <a href='mailto:{{$dev_info_email}}'>{{$dev_info_email}}</a>.<br> Clicking 'Accept' will redirect you to: <a href='{{$website}}' target='_blank'>{{$website}}</a>" title="Developer Info"></span></h2>
23 23
                 </div>
24 24
             </div>
25 25
             <legend>This app would like to:</legend>

Loading…
Cancel
Save