A really cool registration page, I promise <3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
furo 567aa5c12d Compress fonts and fix bug 2 months ago
libs Movedto postgres... 2 years ago
routes Compress fonts and fix bug 2 months ago
static Compress fonts and fix bug 2 months ago
views Password changing now works! 1 year ago
.env.template Movedto postgres... 2 years ago
.gitignore Refactor 2 years ago
LICENSE Compress fonts and fix bug 2 months ago
README.md whops 2 years ago
captcha.sh Added a landing page. 2 years ago
index.js Password changing now works! 1 year ago
package.json Compress fonts and fix bug 2 months ago

README.md

qwik-register

A really cool registration page, I promise <3

GLAuth installation

git clone https://github.com/glauth/glauth.git
cd glauth
make fast
make plugins

GLAuth config

[ldap]
  enabled = true
  listen = "0.0.0.0:3893"

[ldaps]
  enabled = false
  listen = "0.0.0.0:3894"
  cert = "certs/server.crt"
  key = "certs/server.key"

[backend]
  datastore = "plugin"
  plugin = "sqlite.so"
  pluginhandler = "NewSQLiteHandler"
  baseDN = "dc=glauth,dc=com"
  database = "users.db"

  nameformat = "cn"
  groupformat = "ou"

Pre database setup

CREATE TABLE users (
        uidnumber INTEGER PRIMARY KEY autoincrement,
        id INTEGER,
        name TEXT NOT NULL,
        primarygroup INTEGER NOT NULL,
        othergroups TEXT DEFAULT '',
        givenname TEXT DEFAULT '',
        sn TEXT DEFAULT '',
        mail TEXT DEFAULT '',
        loginshell TYEXT DEFAULT '',
        homedirectory TEXT DEFAULT '',
        disabled SMALLINT  DEFAULT 0,
        passsha256 TEXT DEFAULT '',
        passbcrypt TEXT DEFAULT '',
        otpsecret TEXT DEFAULT '',
        yubikey TEXT DEFAULT '',
        custattr TEXT DEFAULT '{}');

INSERT INTO groups(name, gidnumber) VALUES('users', 0);
INSERT INTO groups(name, gidnumber) VALUES('admins', 10);
INSERT INTO groups(name, gidnumber) VALUES('root', 100);

INSERT INTO includegroups(parentgroupid, includegroupid) VALUES(10, 0);