diff options
author | Frederick Muriuki Muriithi | 2023-05-29 14:56:24 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-05-29 14:56:24 +0300 |
commit | 2aa7abf383df814f24c88beea733c324cda682d0 (patch) | |
tree | 89a9297a8854aa2759f9bd7c3e8217cd3d23d163 /gn3/templates/login.html | |
parent | 25c6da03e1639895f0051e8be6502762beefde0b (diff) | |
download | genenetwork3-2aa7abf383df814f24c88beea733c324cda682d0.tar.gz |
auth: Enable registration of OAuth2 clients
Add UI and code to enable the administrative user to register new OAuth2
clients that can access the API server.
Diffstat (limited to 'gn3/templates/login.html')
-rw-r--r-- | gn3/templates/login.html | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gn3/templates/login.html b/gn3/templates/login.html deleted file mode 100644 index cf46009..0000000 --- a/gn3/templates/login.html +++ /dev/null @@ -1,32 +0,0 @@ -{%extends "base.html"%} - -{%block title%}Log in to Genenetwork3{%endblock%} - -{%block content%} -{{flash_messages()}} - -<h1>Genenetwork3: Admin Log In</h1> - -<form method="POST" action="{{url_for('oauth2.admin.login')}}"> - - <fieldset> - <legend>User Credentials</legend> - - <input name="next_uri" type="hidden" value={{next_uri}}> - - <fieldset> - <label for="txt:email">Email Address</label> - <input name="email" type="email" id="txt:email" required="required" - placeholder="your@email.address" /> - </fieldset> - - <fieldset> - <label for="txt:password">Password</label> - <input name="password" type="password" id="txt:password" - required="required" /> - </fieldset> - </fieldset> - - <input type="submit" value="log in" /> -</form> -{%endblock%} |