Skip to main content

greeting

Function greeting 

Source
pub fn greeting(profile: Option<&UserProfile>) -> String
Expand description

Format the post-auth greeting. With a profile: "Hi Name <email>". Without one (server lacks /users/me, returned 404): a generic authenticated message so the user still gets visible confirmation.