nextcloud/lib/private
Daniel Calviño Sánchez 6ca312eec9 Fix disabling send password by Talk without new password in mail shares
When "send password by Talk" was disabled in a mail share it was
possible to keep the same password as before, as it does not pose any
security issue (unlike keeping it when "send password by Talk" is
enabled, as in that case the password was already disclosed by mail).

However, if a mail share is updated but the password is not set again
only the hashed password will be available. In that case it would not
make sense to send the password by mail, so now the password must be
changed when disabling "send password by Talk".

Note that, even if explicitly setting the same password again along with
the "send password by Talk" property would work, this was also prevented
for simplicity.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 11:37:43 +00:00
..
Accounts Update license headers for 19 2020-04-29 11:57:22 +02:00
Activity Update license headers for 19 2020-04-29 11:57:22 +02:00
App Update hub bundle and add proxy rule to htaccess 2020-05-25 19:52:22 +00:00
AppFramework Update license headers for 19 2020-04-29 11:57:22 +02:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Remember the webauthn name of devices 2020-05-12 12:08:38 +00:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Update license headers for 19 2020-04-29 11:57:22 +02:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu Update license headers for 19 2020-04-29 11:57:22 +02:00
DB Update license headers for 19 2020-04-29 11:57:22 +02:00
Dashboard Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Update license headers for 19 2020-04-29 11:57:22 +02:00
EventDispatcher Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Update license headers for 19 2020-04-29 11:57:22 +02:00
Files Clear the statscache before fetching the metadata 2020-05-28 10:30:35 +00:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Improve group queries 2020-05-22 12:22:03 +00:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Do not read certificate bundle from data dir by default 2020-05-25 17:51:03 +00:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Fix languages empty array 2020-05-08 09:25:59 +00:00
Lock Update license headers for 19 2020-04-29 11:57:22 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Update license headers for 19 2020-04-29 11:57:22 +02:00
Mail Fix notification mail tests 2020-05-01 03:00:42 +02:00
Memcache Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Update license headers for 19 2020-04-29 11:57:22 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Update license headers for 19 2020-04-29 11:57:22 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Update license headers for 19 2020-04-29 11:57:22 +02:00
Search Update license headers for 19 2020-04-29 11:57:22 +02:00
Security Use random_bytes 2020-05-11 12:23:02 +00:00
Session Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Update license headers for 19 2020-04-29 11:57:22 +02:00
Share Update license headers for 19 2020-04-29 11:57:22 +02:00
Share20 Fix disabling send password by Talk without new password in mail shares 2020-05-29 11:37:43 +00:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Update license headers for 19 2020-04-29 11:57:22 +02:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User Update license headers for 19 2020-04-29 11:57:22 +02:00
legacy Fix OC_Image new resize functions 2020-05-02 21:57:34 +02:00
AllConfig.php Define getSystemValueBool/Int/String function default parameter with correct type 2020-04-29 14:19:52 +02:00
AppConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Remove obsolete repair steps for logo and updater channel 2020-04-24 09:57:52 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
ServerContainer.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Update hub bundle and add proxy rule to htaccess 2020-05-25 19:52:22 +00:00
Streamer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SubAdmin.php Don't loop over all groups to check for subadmins 2020-04-27 08:37:53 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tags.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TempManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TemplateLayout.php Provide config though initial state service 2020-04-23 19:12:53 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Update license headers for 19 2020-04-29 11:57:22 +02:00