mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
db shared sessions: set key and type as primary key
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -2117,11 +2117,11 @@ func (p *MemoryProvider) addSharedSession(_ Session) error {
|
||||
return ErrNotImplemented
|
||||
}
|
||||
|
||||
func (p *MemoryProvider) deleteSharedSession(_ string) error {
|
||||
func (p *MemoryProvider) deleteSharedSession(_ string, _ SessionType) error {
|
||||
return ErrNotImplemented
|
||||
}
|
||||
|
||||
func (p *MemoryProvider) getSharedSession(_ string) (Session, error) {
|
||||
func (p *MemoryProvider) getSharedSession(_ string, _ SessionType) (Session, error) {
|
||||
return Session{}, ErrNotImplemented
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user