FluxBB\Web\Controllers\AuthController::register PHP Méthode

register() public méthode

public register ( )
    public function register()
    {
        try {
            $this->execute('create.user', ['ip' => $this->request->getClientIp()]);
            return $this->redirectTo('index')->withMessage(trans('fluxbb::register.reg_complete'));
        } catch (ValidationFailed $e) {
            return $this->redirectTo('register')->withInput()->withErrors($e);
        }
    }