mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
A mechanism to flush out all authorizations in a session. Added "about:logout"
A-montulli/R-valeski. Thanks to Kit Knox (kit@cn1.connectnet.com)
This commit is contained in:
parent
667151e787
commit
9236541b6e
@ -4653,6 +4653,11 @@ PRIVATE int net_output_about_url(ActiveEntry * cur_entry)
|
||||
NET_DisplayMemCacheInfoAsHTML(cur_entry);
|
||||
return(-1);
|
||||
}
|
||||
else if(!strcasecomp(which, "logout"))
|
||||
{
|
||||
NET_RemoveAllAuthorizations();
|
||||
return(-1);
|
||||
}
|
||||
else if(!strcasecomp(which, "image-cache"))
|
||||
{
|
||||
IL_DisplayMemCacheInfoAsHTML(cur_entry->format_out, cur_entry->URL_s,
|
||||
|
Loading…
Reference in New Issue
Block a user