<?php use Crypto\Password; require 'init.php'; if (!empty($_GET['mail']) && !empty($_GET['pass'])) { var_dump(Auth\Auth::login($_GET['mail'], $_GET['pass'])); } ?> <form> <label>mail</label> <input type="email" name="mail"> <label>pass</label> <input type="password" name="pass"> <input type="submit"> </form>