Revert "login-validator: provide latest IP"

This reverts commit 42600cecbc694903c26846c611ceb376e991c715.
This commit is contained in:
nemunaire 2018-02-22 05:13:21 +01:00 committed by Pierre-Olivier Mercier
commit 0fd38832bf
3 changed files with 13 additions and 19 deletions

View file

@ -56,7 +56,6 @@ func DBCreate() (err error) {
CREATE TABLE IF NOT EXISTS students(
id_student INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
login VARCHAR(255) NOT NULL UNIQUE,
lastip VARCHAR(255) NOT NULL,
time TIMESTAMP NOT NULL
) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_bin;
`); err != nil {