Ticket #685 (closed Bug: fixed)

Opened 4 months ago

Last modified 4 months ago

New ORM driver for Auth: create_token appears to be broken

Reported by: lhoBas Owned by: Shadowhand
Priority: minor Milestone: 2.2
Component: Modules:Auth Version: SVN HEAD
Keywords: orm create_token model Cc:

Description

The new Auth ORM driver thing breaks with the create_token function in the new Model for User_Token.

Wrong: $this->db->select('id')->where('token', $token)->get($this->table)->count() === 0 Right: $this->db->select('id')->where('token', $token)->get($this->table_name)->count() === 0

Change History

Changed 4 months ago by Shadowhand

  • owner changed from - No owner - to Shadowhand
  • status changed from new to assigned

Changed 4 months ago by Shadowhand

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r3083.

Note: See TracTickets for help on using tickets.