Skip to content

Commit

Permalink
Clean up oxPush2 login form
Browse files Browse the repository at this point in the history
  • Loading branch information
yurem committed Dec 28, 2015
1 parent 4b0f794 commit c6e81fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Server/src/main/webapp/auth/oxpush2/js/oxpush2.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ var oxpush2 = {
url: '/oxauth/seam/resource/restv1/oxauth/session_status',
timeout: oxpush2.checker.timeout,
success: function(result, status, xhr) {
$('#result').html(result.custom_state);
if ((result.state == 'unknown') || ((result.state == 'unauthenticated') && ((result.custom_state == 'declined') || (result.custom_state == 'expired')))) {
callCallback(callback, 'error');
} else if ((result.state == 'authenticated') || ((result.state == 'unauthenticated') && (result.custom_state == 'approved'))) {
Expand Down
1 change: 0 additions & 1 deletion Server/src/main/webapp/auth/oxpush2/login.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
<p>Scan QR code using oxPush2</p>
<div id="container"></div>
<div id="progressbar"></div>
<span id="result">Test</span>
</div>

<s:div rendered='#{!empty client.getPolicyUri()}'>
Expand Down

0 comments on commit c6e81fb

Please sign in to comment.