-
Desired features:
- [x] Track IP used to sign up for an account
- [x] Track unique IPs used to visit the site
- [x] Flag for whether or not a user is banned (can just be perma-bans for now, timed b…
tec27 updated
7 years ago
-
HttpOnly set to FLASE does not work
```js
.use(session({key: 'koa:sess', signed: true, overwrite: true, httpOnly: false}))
```
-
hi!
thanks for helping.
just asking, i just need to create a new session id, like uuid. it says this is the simple use case, but i dont get it. what do i do with the lock? i just want to add a new u…
-
I wrote query that insert a user or update on duplicate(email)
```
'INSERT INTO user` (`email`, `password`, `name`, `comment`) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE `password` = ?, `name` = ?,…
-
When I configure my login route as following:
``` js
router.post('/login', passport.authenticate('local', {
successRedirect: '/user/logout',
failureRedirect: '/user/login?wrong',
failureF…
-
Hi, awesome middleware!
I'm getting that error when i use local-strategy with this middleware.
The examples work perfectly but i get these errors when i use it by myself.
Here is my code.
``…
-
* **Macaca Version**:
2.0.1
* **Macaca Doctor Logs**:
macaca-doctor version: 2.0.0
Node.js checklist:
node env: /usr/local/bin/node
node version: v7.4.0
iOS checklist:
…
-
I'm trying to use virgen-acl inside a (client-side) Handlebars template helper so my templates can contain something like:
```
{{#can "edit" blog}}Edit{{/can}}
```
The `can` helper gets the current …
-
I'm building a fairly unusual use-case of a koa app boilerplate and when I try to migrate to koa2, every response is `Content-Type: application/octet-stream` unless I manually overwrite. This includes…
-
I was using koa-session.
While I set httpOnly prop like this:
``` javascript
var nickName = encodeURIComponent(userData.data.nick),
empId = encodeURIComponent(userData.data.empid);
var co…