mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
leave a note to fix an unhandled case with read-only shared folders for guests
This commit is contained in:
parent
3658fe93de
commit
92e3527552
@ -3908,6 +3908,7 @@ define([
|
||||
}
|
||||
|
||||
if (APP.readOnly && !APP.loggedIn) {
|
||||
// XXX this incorrectly prompts guests to login/register even when they lack editing rights.
|
||||
(function () {
|
||||
var $banner = $(Pages.setHTML(h('div.cp-app-drive-content-info-box'), Messages.fm_info_sharedFolder));
|
||||
$banner.find('[href="/login/"], [href="/register/"]').click(function (ev) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user