Skip to content
Permalink
Browse files

Change to Create

  • Loading branch information...
Florian Wendelborn
Florian Wendelborn committed Feb 22, 2017
1 parent ac6e733 commit dc5392acedbeecd3f17dad90d16f9d662bfe5f76
Showing with 3 additions and 3 deletions.
  1. +2 −2 readme.md
  2. +1 −1 source/api/session.js
@@ -33,9 +33,9 @@ Devices are extensions. SmartFlat can potentially support anything.
- Get a third-party WebUI
- Own a custom device? Write your own module

## Extensions
## Installation

- [WebHook](https://github.com/smartflat/smartflat-webhooks)
Ask me on Slack.

## For Developers

@@ -28,7 +28,7 @@ export const verify = async (token) =>
algorithms: ['HS256']
})

export const signIn = async ({name, password}) => {
export const create = async ({name, password}) => {
const {salt, hash} = await provide.user({name})
const realHash = await hashPassword({password, salt})

0 comments on commit dc5392a

Please sign in to comment.
You can’t perform that action at this time.