Skip to content

Commit

Permalink
Deploying to gh-pages from @ f159dee 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Apr 30, 2024
1 parent 24cb647 commit 0959985
Show file tree
Hide file tree
Showing 6 changed files with 274 additions and 101 deletions.
171 changes: 95 additions & 76 deletions ermac.min.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="webassets/ermac.css" />
<script type="text/javascript" src="jquery.min.js"></script>
</head>
<body class="noscroll">

<body>
<script type="text/javascript" src="ermac.min.js"></script>
</body>
</html>
5 changes: 2 additions & 3 deletions oauth/idp_auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@
if (window.skip_idp_confirm)
return post_auth(session_id);

const confirmation = confirm('Log in at the external service?');
if (confirmation){
if (confirm('Log in at the external service?')){
window.localStorage.setItem(window.store_idp_skip_tpl + window.consumer_id, true);
post_auth(session_id);

} else {
console.log('Redirecting a user to login...');
window.localStorage.setItem(window.store_redir_key, saved_redir_url);
window.localStorage.removeItem(window.store_redir_key);
window.location.href = window.login_url;
}
} else {
Expand Down
49 changes: 30 additions & 19 deletions webassets/ermac.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0959985

Please sign in to comment.