1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-10-18 15:44:21 +00:00
nginx-sso/vendor/github.com/jda/go-crowd/crowdauth/loginTemplate.go
Knut Ahlers 6fa934880e
Implement Crowd authentication (#2)
* Re-add example configuration for Crowd
* Implement Crowd authentication
* Fix: Some errors just mean there is no user
* Document crowd provider
* Vendor new dependencies
* Reduce error messages: Check for config details
2018-02-04 14:51:08 +01:00

15 lines
435 B
Go

package crowdauth
var defLoginPage string = `<html>
<head><title>Login required</title></head>
<body>
<h1>Login required</h1>
<form method="POST" action="">
<label for="inputUser">Username</label>
<input id="inputUser" name="username" required autofocus><br>
<label for="inputPassword">Password</label>
<input type="password" name="password" id="inputPassword"required>
<button type="submit">Sign in</button>
</form>
</body>
</html>`