Skip to main content

split_user_password

Function split_user_password 

Source
pub fn split_user_password(raw: &str) -> Result<(&str, &str), SecurityError>
Expand description

Splits username:password (first colon). Password may contain colons.

ยงErrors

Returns SecurityError::Ldap when the shape is invalid.