Skip to content

Commit

Permalink
Add email login support (#26)
Browse files Browse the repository at this point in the history
* add email login support

* convert indentation to spaces

* hide active forms on dev and github logins
  • Loading branch information
Reeywhaar authored and umputun committed Jun 17, 2019
1 parent b274af5 commit 112f495
Show file tree
Hide file tree
Showing 3 changed files with 584 additions and 349 deletions.
38 changes: 19 additions & 19 deletions _example/frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>GO-PKGZ/AUTH</title>
<link rel="stylesheet" href="./style.css?v=2">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>GO-PKGZ/AUTH</title>
<link rel="stylesheet" href="./style.css?v=2">
</head>
<body>
<header class="main-header">
<h1 class="title"><a href="https://github.com/go-pkgz/auth">GO-PKGZ/AUTH</a><span class="pretitle">Example page</span></h1>
<p class="description">This library provides “social login” with Github, Google, Facebook and Yandex.</p>
<div class="login"></div>
</header>
<div class="status"><span class="minititle">Status:</span> <span class="status__label">unauthorized</span></div>
<div class="minititle info-label" title="Contents from '/auth/user' call">User info:</div>
<div class="info">No info</div>
<div class="protected-data">
<p class="minititle protected-data__title" title="Contents from '/private_data' call">Private page contents:</p>
<p class="protected-data__placeholder">unauthorized</p>
</div>
<div class="footer"><hr/><a href="https://github.com/go-pkgz/auth">go-pkgz/auth</a></div>
<script src="./main.js?v=2"></script>
<header class="main-header">
<h1 class="title"><a href="https://github.com/go-pkgz/auth">GO-PKGZ/AUTH</a><span class="pretitle">Example page</span></h1>
<p class="description">This library provides “social login” with Github, Google, Facebook and Yandex.</p>
<div class="login"></div>
</header>
<div class="status"><span class="minititle">Status:</span> <span class="status__label">unauthorized</span></div>
<div class="minititle info-label" title="Contents from '/auth/user' call">User info:</div>
<div class="info">No info</div>
<div class="protected-data">
<p class="minititle protected-data__title" title="Contents from '/private_data' call">Private page contents:</p>
<p class="protected-data__placeholder">unauthorized</p>
</div>
<div class="footer"><hr/><a href="https://github.com/go-pkgz/auth">go-pkgz/auth</a></div>
<script src="./main.js?v=2"></script>
</body>
</html>
Loading

0 comments on commit 112f495

Please sign in to comment.