This package has been deprecated

Author message:

use @nextcloud/password-confirmation

nextcloud-password-confirmation

0.4.2 • Public • Published

nextcloud-password-confirmation

npm Build Status

Promise-based password confirmation wrapper for Nextcloud.

This tiny library wraps OC.PasswordConfirmation.requiresPasswordConfirmation and OC.PasswordConfirmation.requirePasswordConfirmation and exports it as a function that returns a promise. This makes it easier to integrate with other asynchronous operations.

Installation

npm i --save nextcloud-password-confirmation

Usage

import confirmPassword from 'nextcloud-password-confirmation';
 
confirmPassword().then(() => {
    // your logic
});

Readme

Keywords

Package Sidebar

Install

npm i nextcloud-password-confirmation

Weekly Downloads

0

Version

0.4.2

License

MIT

Unpacked Size

13.4 kB

Total Files

11

Last publish

Collaborators

  • christophwurst