hide internal csrf session key helper
This commit is contained in:
parent
b8c2efe976
commit
6f446c4aef
@ -877,7 +877,7 @@ void session_destroy(String session_name)
|
||||
}
|
||||
}
|
||||
|
||||
String csrf_session_key(String token_name)
|
||||
static String csrf_session_key(String token_name)
|
||||
{
|
||||
token_name = first(trim(token_name), "csrf_token");
|
||||
return("_csrf_" + token_name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user