Changeset View
Changeset View
Standalone View
Standalone View
lib/kolab_chat/web/controllers/auth_controller.ex
- This file was moved from web/controllers/auth_controller.ex.
defmodule KolabChat.AuthController do | defmodule KolabChat.Web.AuthController do | ||||
use KolabChat.Web, :controller | use KolabChat.Web, :controller | ||||
@doc """ | @doc """ | ||||
Handler for the default logon form | Handler for the default logon form | ||||
""" | """ | ||||
def default_callback(conn, params) do | def default_callback(conn, params) do | ||||
%{"logon" => %{"password" => _pass, "username" => username}} = params | %{"logon" => %{"password" => _pass, "username" => username}} = params | ||||
signin(conn, username) | signin(conn, username) | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |