MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / verify_password

Method verify_password

examples/react_admin/backend/src/models/users.rs:148–150  ·  view source on GitHub ↗
(&self, password: &str)

Source from the content-addressed store, hash-verified

146 /// when could not verify password
147 #[must_use]
148 pub fn verify_password(&self, password: &str) -> bool {
149 hash::verify_password(password, &self.password)
150 }
151
152 /// Asynchronously creates a user with a password and saves it to the
153 /// database.

Callers 1

loginFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected