Mercurial > prosody-modules
view mod_http_oauth2/html/login.html @ 5467:1c78a97a1091
mod_http_oauth2: Add a special "xmpp" scope that grants the users' default role
This will be the first step towards defining a standard set of XMPP
scopes. "xmpp" behaves as an alias for the user's default role, so that
the client does not need to know about the various prosody:* roles.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 17 May 2023 19:40:27 +0200 |
parents | 398d936e77fb |
children | 46e512f4ba14 |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>{site_name} - Sign in</title> <link rel="stylesheet" href="style.css"> </head> <body> <main> <h1>{site_name}</h1> <fieldset> <legend>Sign in</legend> <p>Sign in to your account to continue.</p> {state.error&<div class="error"> <p>{state.error}</p> </div>} <form method="post"> <input type="text" name="username" placeholder="Username" aria-label="Username" required {extra.no_username_hint&autofocus}{extra.username_hint& value="{extra.username_hint?}"}><br/> <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required {extra.username_hint&autofocus}><br/> <input type="submit" value="Sign in"> </form> </fieldset> </main> </body> </html>