Skip to content
This repository has been archived by the owner. It is now read-only.

Return username on POST to /_session #16

Merged
merged 1 commit into from Dec 25, 2014

Conversation

@robertkowalski
Copy link
Contributor

@robertkowalski robertkowalski commented Nov 23, 2014

When logging in with admin credentials and no user doc is
present, the name was null. Example:

{"ok":true,"name":null,"roles":["_admin"]}

closes COUCHDB-1356


-include_lib("couch/include/couch_eunit.hrl").

-define(TIMEOUT, 1000).
Copy link
Member

@kxepal kxepal Nov 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seems not using this define anywhere in test module...

Loading

@robertkowalski robertkowalski force-pushed the COUCHDB-1356-auth-session branch from e109ff8 to bcaace2 Nov 23, 2014
@srsgores
Copy link

@srsgores srsgores commented Dec 14, 2014

+1 for this. Just had this happen to me.

Loading

@kxepal
Copy link
Member

@kxepal kxepal commented Dec 16, 2014

+1

Loading

@robertkowalski robertkowalski force-pushed the COUCHDB-1356-auth-session branch 2 times, most recently from a9a2a52 to f6a34da Dec 25, 2014
When logging in with admin credentials and no user doc is
present, the name was `null`. Example:

`{"ok":true,"name":null,"roles":["_admin"]}`

closes COUCHDB-1356
@asfgit asfgit merged commit f6a34da into apache:master Dec 25, 2014
@robertkowalski robertkowalski deleted the COUCHDB-1356-auth-session branch Dec 25, 2014
@robertkowalski
Copy link
Contributor Author

@robertkowalski robertkowalski commented Dec 25, 2014

merged as f6a34da! happy holidays everyone!

Loading

janl pushed a commit to janl/couchdb-couch that referenced this issue Nov 28, 2015
Conflicts:
	src/chttpd_db.erl

This closes apache#16

COUCHDB-1145
jlami added a commit to martinic/ember-simple-auth-pouch that referenced this issue Sep 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants