MCPcopy Create free account
hub / github.com/Recordscript/recordscript / temporary_password

Function temporary_password

libs/hbb_common/src/password_security.rs:29–31  ·  view source on GitHub ↗

Should only be called in server

()

Source from the content-addressed store, hash-verified

27
28// Should only be called in server
29pub fn temporary_password() -> String {
30 TEMPORARY_PASSWORD.read().unwrap().clone()
31}
32
33fn verification_method() -> VerificationMethod {
34 let method = Config::get_option("verification-method");

Callers 1

has_valid_passwordFunction · 0.85

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected