From b9ed4a2dc170a3a4b6c1095cdfc79e49292f315d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 2 Aug 2020 21:27:08 +0100 Subject: Partially support federated login Two things: 1. I've never attempted to support this before. 2. It seems surprisingly and perhaps deceptively simpler than what I expected. I'm unsure what to do once Google's API authenticates the user. I currently look-up the user's role, trips, etc. using their email address. The role is stored in the Accounts table alongside username, email, password. I will speak with the interviewer tomorrow about this. --- client/src/UI.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/UI.elm') diff --git a/client/src/UI.elm b/client/src/UI.elm index f959b0cc7836..7f8f379795f7 100644 --- a/client/src/UI.elm +++ b/client/src/UI.elm @@ -98,7 +98,8 @@ baseButton { label, enabled, handleClick, extraClasses } = "cursor-not-allowed" , "text-white" , "font-bold" - , "py-2" + , "py-1" + , "shadow-lg" , "px-4" , "rounded" , "focus:outline-none" -- cgit 1.4.1